package com.example.lbstest.mapper;


import com.example.lbstest.pojo.Student;
import com.example.lbstest.pojo.Teacher;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component
public interface TeacherMapper {
    //login
    Teacher login(@Param("number")String number, @Param("password")String password);
    //查询老师信息
    Teacher selectOneTeacher(@Param("teacher_id")String teacher_id);
    //修改密码
    int changePassword(@Param("number")String number,@Param("password")String password);

}
